package com.wfcm.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.wfcm.dao.WfMemberInvitationViewCoinDao;
import com.wfcm.entity.WfMemberInvitationViewCoinEntity;
import com.wfcm.service.WfMemberInvitationViewCoinService;



@Service("wfMemberInvitationViewCoinService")
public class WfMemberInvitationViewCoinServiceImpl implements WfMemberInvitationViewCoinService {
	@Autowired
	private WfMemberInvitationViewCoinDao wfMemberInvitationViewCoinDao;
	
	@Override
	public WfMemberInvitationViewCoinEntity queryObject(Integer id){
		return wfMemberInvitationViewCoinDao.queryObject(id);
	}
	
	@Override
	public List<WfMemberInvitationViewCoinEntity> queryList(Map<String, Object> map){
		return wfMemberInvitationViewCoinDao.queryList(map);
	}
	
	@Override
	public List<String> queryMonth(Map<String, Object> map){
		return wfMemberInvitationViewCoinDao.queryMonth(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return wfMemberInvitationViewCoinDao.queryTotal(map);
	}
	
	@Override
	public void save(WfMemberInvitationViewCoinEntity wfMemberInvitationViewCoin){
		wfMemberInvitationViewCoinDao.save(wfMemberInvitationViewCoin);
	}
	
	@Override
	public void update(WfMemberInvitationViewCoinEntity wfMemberInvitationViewCoin){
		wfMemberInvitationViewCoinDao.update(wfMemberInvitationViewCoin);
	}
	
	@Override
	public void delete(Integer id){
		wfMemberInvitationViewCoinDao.delete(id);
	}
	
	@Override
	public void deleteBatch(Integer[] ids){
		wfMemberInvitationViewCoinDao.deleteBatch(ids);
	}

	@Override
	public WfMemberInvitationViewCoinEntity queryByOrderCode(String orderCode) {
		// TODO Auto-generated method stub
		return wfMemberInvitationViewCoinDao.queryByOrderCode(orderCode);
	}

	@Override
	public List<WfMemberInvitationViewCoinEntity> queryAllList(Map<String, Object> map) {
		// TODO Auto-generated method stub
		return wfMemberInvitationViewCoinDao.queryAllList(map);
	}
}
